/************************************************************************************
 *                                .                                                 *
 *                                .                                                 *
 ************************************************************************************/
package jMiiEditor.mii.introspection;

import jMiiEditor.mii.Mii;
import java.lang.reflect.Method;
import java.util.EnumSet;
import cx.ath.choisnet.lang.introspection.method.Introspection;
import cx.ath.choisnet.lang.introspection.method.IntrospectionItem;
import cx.ath.choisnet.lang.introspection.method.IntrospectionItemFactory;

/**
 * @author CC
 *
 */
public class MiiGetterIntrospection 
    extends Introspection<Mii,MiiGetterIntrospectionItem>
{
    /** Some logs */
    // final private static Logger slogger = Logger.getLogger(MiiGetterInspection.class);

    public MiiGetterIntrospection() 
    {
        super(
                //MIIGETTER.class,
                Mii.class,
                new IntrospectionItemFactory<IntrospectionItem<Mii>>()
                {
                    @Override
                    public IntrospectionItem<Mii> buildIntrospectionItem(
                            Method getter, 
                            Method setter 
                            )
                    {
                        return new MiiGetterIntrospectionItem( getter, setter );
                    }
                    
                },
                EnumSet.of(Introspection.Attrib.ONLY_PUBLIC, Introspection.Attrib.NO_DEPRECATED)
                );
    }
    
 }
